body, ul {
    /*取消浏览器内间距  外间距*/
    margin: 0; /*外间距*/
    padding: 0;
}

/*====================1. 头部导航========================*/
.nav {
    width: 100%;
    height: 58px;
    /* background-color: gray;*/
}

/*图片logo*/
.nav .head-logo {
    width: 150px;
    height: 34px;
    background: url("../images/footer.png") no-repeat 0 0;
    background-position: 0px -30px;
    position: relative; /*相对原来的位置*/
    top: 12px;
    margin-left: 150px;
    float: left;
}

/*导航*/
.nav .head-nav {
    width: 726px;
    height: 100%;
    /*background-color: sandybrown;*/
    float: left;
}

.head-nav ul {
    list-style: none; /*去除小黑点*/
    height: 100%;
}

.head-nav ul li {
    float: left; /*每个li 不换行*/
    width: 90px;
    height: 100%;
    border-right: 1px solid white;
    /*  background-color: springgreen;*/
}

/*设置 导航每个菜单的超链接a 宽度高度：
    a ： 本身是 行内元素  --- 转换成 行内块级元素
*/
.head-nav ul li a {
    display: inline-block;
    width: 100%;
    height: 100%;
    /* background-color: salmon;*/
    color: #393939;
    text-align: center; /*水平居中*/
    line-height: 58px; /*垂直居中*/
    text-decoration: none; /*去除下划线*/
    font-size: 14px;
}

/*导航第一个菜单的样式*/
.head-nav ul li:first-child {
    background-color: #ff9d00;

}

.head-nav ul li a.first-item {
    color: white;
}

.head-nav ul li a.first-item:hover {
    background-color: #ff9d00;
    color: white;
    border: none;
}

.head-nav ul li a:hover {
    color: #ff9d00;
    box-sizing: border-box;
    border-bottom: 4px solid #ff9d00;
}

/*登录区域*/
.nav .head-login {
    width: 300px;
    height: 100%;
    background-color: white;
    float: right;
    line-height: 58px;
}

.head-login a {
    font-size: 14px;
    text-decoration: none;
    color: #ff9d00;
    cursor: pointer;

}

.head-login a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.head-login .split {
    display: inline-block;
    margin: 0 10px;
    width: 1px;
    height: 14px;
    background-color: #c9c9c9;
    overflow: hidden;
    vertical-align: -2px;
}

/*====================2. 横幅 banner========================*/
.banner {
    width: 100%;
    height: 450px;
    background-color: slateblue;
}

.banner .show-img {
    display: block;
    width: 100%;
    height: 100%;
}

.banner .show-img img {
    width: 100%;
    height: 100%;
}

/*横幅右侧的小图片导航*/
.banner .show-nav {
    width: 110px;
    height: 340px;
    /* background-color: sandybrown;*/
    position: absolute;
    top: 100px;
    right: 40px;
    list-style: none; /*去除无序列表的小黑点*/

}

.banner .show-nav li {
    width: 100%;
    height: 62px;
    /* background-color: skyblue;*/
    margin-bottom: 5px;
}

.banner .show-nav li a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner .show-nav a img {
    width: 100%;
    height: 100%;
}

.banner .show-nav li a:hover {
    border: 2px solid #ff9d00;
}

/*横幅中间的搜索区域*/
.banner .search-area {
    width: 500px;
    height: 90px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 4px;
    position: absolute;
    left: 35%;
    top: 300px
}

.search-form {
    width: 80%;
    height: 36px;
    /* background-color: springgreen;*/
    margin: 0 auto;
    position: relative;
    top: 20px;

}

/*单行文本框*/
.search-form .keyword {
    width: 300px;
    height: 100%;
    border: none;
    border-radius: 5px;
    padding-left: 10px;
    outline: none;
    float: left;
    margin-right: 10px;
}

.search-form .search-btn {
    display: inline-block;

    width: 38px;
    height: 38px;
    background-color: #ff9d00;
    background-image: url("images/search.svg");
    border: none;
    border-radius: 5px;
    float: left;
}

/*======================3.主要内容 main===========================*/
.main {
    width: 66%;
    height: 1500px;
    margin: 0 auto; /*div 在父容器居中*/
    position: relative; /*占据文档流*/
    top: 20px; /*相对 该元素 原来的位置 进行的偏离*/

}

/*左侧推广*/
.main .aside-ad {
    width: 260px;
    height: 100%;
    background-color: white;
    float: left;
}

.aside-ad ul {
    width: 100%;
    height: 100%;
    list-style: none;
}

.aside-ad ul li {
    width: 100%;
    height: 246px;
    background-color: white;
    margin-bottom: 10px;
}

.aside-ad .ad-item {
    width: 100%;
    height: 35px;
    font-size: 18px;
    color: #333;
    background-color: white;
    line-height: 35px;
    font-weight: normal;

}

.aside-ad .ad-item a {
    font-size: 18px;
    color: #333333;
    text-decoration: none;
    cursor: pointer;
}

.aside-ad .ad-text a {
    font-size: 16px;
    color: #333333;
    text-decoration: none;
    cursor: pointer;
}

.aside-ad .ad-text p {
    font-size: 14px;
    position: relative; /*占据文档流*/
    top: -10px; /*相对 该元素 原来的位置 进行的偏离*/
}

.aside-ad .ad-text a:hover {
    color: #ff9d00;
    text-decoration: underline;
}

.main .right-note-list {
    width: 70%;
    height: 100%;
    background-color: #ffffff;
    float: right;
}

.right-note-list .list-item {

    display: inline-block;
    width: 120px;
    height: 46px;
    color: #393939;
    text-align: center; /*水平居中*/
    line-height: 46px; /* 垂直居中*/
    text-decoration: none; /*去除下划线*/
    font-size: 18px;
    box-sizing: border-box;
    transition: all 0.2s linear;

}

#item2 {
    color: #ff9d00;
    border-bottom: 3px solid #ff9d00;
    transition: all 0.2s linear;
}

#item1:hover + #item2 {
    color: #393939;
    border-bottom: none;
}

.right-note-list .list-item:hover {
    color: #ff9d00;
    border-bottom: 3px solid #ff9d00;
    transition: all 0.2s linear;
}

.right-note-list .list-write {
    float: right;
    width: 140px;
    display: block;
    height: 36px;
    background-color: #ff9d00;
    color: #fff;
    border-radius: 4px;
    margin-top: 3px /*距离top 16px*/
}

.right-note-list .list-write:hover {
    background-color: #FF8a00;
}

.right-note-list .list-write .list-write-logo {
    position: relative; /*占据文档流*/
    top: 10px; /*相对 该元素 原来的位置 进行的偏离*/
    left: 40px;
    display: block;
    float: left;
    /*left: 50px;*/
    width: 18px;
    height: 17px;
    vertical-align: middle;

}

.right-note-list .list-write .list-write-text {
    position: relative; /*占据文档流*/
    top: 1px; /*相对 该元素 原来的位置 进行的偏离*/
    left: 43px;
    display: block;
    float: left;
    height: 36px;
    font-size: 10px;
    color: #ffffff;
    line-height: 36px;
    text-align: center;
    text-decoration: none; /*去除下划线*/
}

.right-note-list .list-hr {
    height: 1px;
    border: none;
    border-top: 1px solid #e4e4e4;
    position: relative; /*占据文档流*/
    top: -8px; /*相对 该元素 原来的位置 进行的偏离*/
}

.notes {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.notes .list {
    width: 70%;
    height: 100%;
    background-color: #ffffff;
    /*border: 1px solid #ccc;*/
    position: absolute; /*堆一起*/
    z-index: 1;
    box-sizing: border-box;
}

.main .right-note-list .notes .list .note {
    padding: 15px 0;
    height: 150px;
}

.main .right-note-list .notes .list .note:hover > .note-wrapper dt a {
    color: #ff9d00;
}

.main .right-note-list .notes .list .note:hover {
    background-color: #f6f6f6;
}

.main .right-note-list .notes .list .note .note-img {
    float: left;
    width: 220px;
    height: 150px;
    position: relative;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

.main .right-note-list .notes .list .note .note-img img {
    width: 220px;
    height: 150px;
    border: 0;
    vertical-align: middle;
}

.main .right-note-list .notes .list .note .note-wrapper {
    float: right;
    width: 455px;
    height: 150px;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    display: block;
}

.main .right-note-list .notes .list .note .note-wrapper dt {
    height: 26px;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 26px;
    cursor: pointer;
}

.main .right-note-list .notes .list .note .note-wrapper dt a {
    width: 455px;
    height: 26px;
    display: block;
    color: #333;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
}

.main .right-note-list .notes .list .note .note-wrapper dd {
    line-height: 20px;
    font-size: 14px;
    overflow: hidden;
    margin-inline-start: 0px;
}

.main .right-note-list .notes .list .note .note-wrapper dd a {
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

.main .right-note-list .notes .list .note .note-wrapper .note-extra {
    position: relative; /*占据文档流*/
    top: 20px; /*相对 该元素 原来的位置 进行的偏离*/
    left: 18%;
    font-size: 12px;
    height: 33px;
    overflow: hidden;
    line-height: 33px;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

.main .right-note-list .notes .list .note .note-wrapper .note-extra .note-user {
    margin-right: 10px;
    display: inline-block;
}

.main .right-note-list .notes .list .note .note-wrapper .note-extra .note-user:hover > .username {
    text-decoration: underline
}

.main .right-note-list .notes .list .note .note-wrapper .note-extra .note-user .username {
    position: relative;
    left: 4px;
    background-color: transparent;
    text-decoration: none;
    color: #ff9d00;
    cursor: pointer;
    line-height: 33px; /* 垂直居中*/
    text-decoration: none; /*去除下划线*/
}

.main .right-note-list .notes .list .note .note-wrapper .note-extra .note-user img {
    width: 16px;
    height: 16px;
    border: 0;
    vertical-align: middle;
    border-radius: 8px;
}

.right-note-list > .list-item:nth-child(1):hover ~ .notes > .list:nth-child(1),
.right-note-list > .list-item:nth-child(2):hover ~ .notes > .list:nth-child(2),
.list:hover {
    z-index: 2;
}

/*========================4.底部footer======================*/
.footer {
    width: 100%;
    height: 450px;
    background-color: darkgray;
}